Skip to main content

EndsWithBytes

Type​

operator

Summary​

Determines whether Target ends with Needle.

Syntax​

<Target> ends with <Needle>

Description​

note

Since the empty data is a final subsequence of every sequence of bytes, every sequence of bytes ends with the empty data.

Parameters​

NameTypeDescription

Needle

An expression which evaluates to binary data.

Target

An expression which evaluates to binary data.

Value​

NameTypeDescription

return

True if the bytes of Needle occur as a final subsequence of the bytes of Target, and false otherwise.

Thank you for your feedback!

Was this page helpful?